{include file="public/header" /}
<body>
<div class="header">
    <i class="layui-icon layui-icon-left" ></i> 个人资料
</div>

<div class="personal-news flex-center">
    <label for="check">
        <p class="flex-center">
            <img src="{if $user.photo}{$user.photo}{else}cache('system')['default_photo']{/if}" alt=""  id="photo">
        </p>
        <p>点击更换头像</p>
    </label>
</div>

<ul class="set-list">
    <li>
        <a href="javascript:;">姓名
            <div>{$user.nickname}
<!--                <i class="layui-icon layui-icon-right"></i>-->
            </div>
        </a>
    </li>
    <li>
        <a href="javascript:;">手机号
            <div>{$user.mobile}
                <i class="layui-icon layui-icon-right"></i>
            </div>
        </a>
    </li>
    <li>
        <a href="">推荐人ID
            <div>{$user.parent_code ?? '-'}
<!--                <i class="layui-icon layui-icon-right"></i>-->
            </div>
        </a>
    </li>

</ul>
</body>
{include file="public/footer"/}
</html>